package com.lglbc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author 乐哥聊编程
 * @Doc  关注公众号"乐哥聊编程"获取文档和源码  
 * @Date 2023/6/17
 * @Description
 */
@RestController
public class IndexController {
    @Autowired
    private Service3Feign service3Feign;
    @Autowired
    private Service2Feign service2Feign;
    @GetMapping("/service1")
    public String service1(String name) {
        return "service1 回复:"+name +service2Feign.service2(name)+service3Feign.service3(name);
    }
}
